package com.aliyun.heiyu.powermaster.server.rotary.service;

import com.aliyun.heiyu.powermaster.proto.*;

/**
 * @Description 连接管理
 * @Author shun.zhang
 * @Date 2020/9/10 15:50
 **/
public interface ConnectManager {
    /**
     * 设置空调的值
     *
     * @param request
     * @return
     */
    ControllReply setAirValue(ControllRequest request);

    /**
     * 设置空调的值
     *
     * @param request
     * @return
     */
    ControllReply setAirAlgoValue(ControllRequest request);

    /**
     * 添加设备空调
     *
     * @param request
     * @return
     */
    ControllReply addControllAir(ControllRequest request);

    /**
     * 建立连接
     *
     * @param request
     * @return
     */
    ConnectReply connect(ConnectRequest request);

    /**
     * 释放连接
     *
     * @param request
     * @return
     */
    CloseConnectReply closeConnect(ConnectRequest request);

}
